package com.ruoyi.ruoyiserver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件资源对象 fusun_source
 *
 * @author ruoyi
 * @date 2025-01-17
 */
public class FusunSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一id */
    private String id;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String sourceName;

    /** 附件路径 */
    @Excel(name = "附件路径")
    private String sourcePath;

    /** 附件后缀 */
    @Excel(name = "附件后缀")
    private String sourceSuffix;

    /** 附件大小 */
    @Excel(name = "附件大小")
    private String sourceSize;

    /** 文件标识（用于一个数据有多种类型的文件标识） */
    @Excel(name = "文件标识", readConverterExp = "用=于一个数据有多种类型的文件标识")
    private String sourceFlag;

    /** 附件md5 */
    @Excel(name = "附件md5")
    private String sourceMd5;

    /** 文件备注 */
    @Excel(name = "文件备注")
    private String sourceMark;

    /** url */
    @Excel(name = "url")
    private String sourceUrl;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setSourceName(String sourceName)
    {
        this.sourceName = sourceName;
    }

    public String getSourceName()
    {
        return sourceName;
    }
    public void setSourcePath(String sourcePath)
    {
        this.sourcePath = sourcePath;
    }

    public String getSourcePath()
    {
        return sourcePath;
    }
    public void setSourceSuffix(String sourceSuffix)
    {
        this.sourceSuffix = sourceSuffix;
    }

    public String getSourceSuffix()
    {
        return sourceSuffix;
    }
    public void setSourceSize(String sourceSize)
    {
        this.sourceSize = sourceSize;
    }

    public String getSourceSize()
    {
        return sourceSize;
    }
    public void setSourceFlag(String sourceFlag)
    {
        this.sourceFlag = sourceFlag;
    }

    public String getSourceFlag()
    {
        return sourceFlag;
    }
    public void setSourceMd5(String sourceMd5)
    {
        this.sourceMd5 = sourceMd5;
    }

    public String getSourceMd5()
    {
        return sourceMd5;
    }
    public void setSourceMark(String sourceMark)
    {
        this.sourceMark = sourceMark;
    }

    public String getSourceMark()
    {
        return sourceMark;
    }
    public void setSourceUrl(String sourceUrl)
    {
        this.sourceUrl = sourceUrl;
    }

    public String getSourceUrl()
    {
        return sourceUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sourceName", getSourceName())
            .append("sourcePath", getSourcePath())
            .append("sourceSuffix", getSourceSuffix())
            .append("sourceSize", getSourceSize())
            .append("sourceFlag", getSourceFlag())
            .append("sourceMd5", getSourceMd5())
            .append("sourceMark", getSourceMark())
            .append("sourceUrl", getSourceUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
